import fetch from '@/util/fetch.js'

export function login (loginName, password) {
    const data = {
        loginName,
        password
    }
    return fetch({
        url: '/sysuser/login',
        method: 'post',
        data
    })
}
export function getaAccountCertificationList () {
    const data = {}
    return fetch({
        url: '/sysuser/login',
        method: 'post',
        data
    })
}

export function getMenu () {
    return fetch({
        url: '/comm/rbac/find-menu-resource-by-user-as-role',
        method: 'post'
    })
}
